package TwoValuedDivision;


import javax.imageio.ImageIO;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;

public class Test {
    public static void main(String args[]) {
        ThresholdBinaryFilter test = new ThresholdBinaryFilter();
        BufferedImage sourceImage = null;
        BufferedImage initImage = null;
        /*try{
            sourceImage= ImageIO.read(new File("C:/Users/jj/Desktop/black2.png"));
            *//*initImage = new BufferedImage(sourceImage.getWidth(),
                    sourceImage.getHeight(),
                    sourceImage.getType());*//*
            BufferedImage dest = test.filter(sourceImage,null);
            File newFile = new File("C:/Users/jj/Desktop/result2.png");
            ImageIO.write(dest, "png", newFile);
        }catch (IOException e) {
            e.printStackTrace();
        }*/
    }
}
